<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<!--引入head的公共部分-->
<head th:replace="header::header-commo(注册)"></head>
<body>
<!--引入header的公共部分-->
<header th:replace="header::header-nav"></header>
<div class="container-fluid rg-container">

    <div class="rg-layout ">
        <div class="rg-left col-md-3 pt20">
            <p>新用户注册</p>
            <p>USER REGISTER</p>
        </div>
        <br><br>
        <div class="col-md-6 pt20">
            <form class="form-horizontal" th:action="@{/user/register}" method="post">
                <div class="form-group">
                    <label for="username" class="col-sm-2 control-label">用户名</label>
                    <div class="col-sm-10">
                        <input type="text" name="username" class="form-control" id="username" placeholder="请输入用户名">
                    </div>
                </div>
                <div class="form-group">
                    <label for="password" class="col-sm-2 control-label">密码</label>
                    <div class="col-sm-10">
                        <input type="password" class="form-control" name="password" id="password"
                               placeholder="Password">
                    </div>
                </div>
                <div class="form-group">
                    <label for="email" class="col-sm-2 control-label">Email</label>
                    <div class="col-sm-10">
                        <input type="email" class="form-control" name="email" id="email" placeholder="请输入邮箱">
                    </div>
                </div>
                <div class="form-group">
                    <label for="name" class="col-sm-2 control-label">姓名</label>
                    <div class="col-sm-10">
                        <input type="text" class="form-control" name="name" id="name" placeholder="请输入姓名">
                    </div>
                </div>
                <div class="form-group">
                    <label for="tel" class="col-sm-2 control-label">手机号</label>
                    <div class="col-sm-10">
                        <input type="text" class="form-control" name="telephone" id="tel" placeholder="请输入手机号">
                    </div>
                </div>
                <!--<div class="form-group">
                        <label for="captcha" class="col-sm-2 control-label">验证码</label>
                        <div class="col-sm-5">
                          <input type="text" class="form-control" name="captcha" id="captcha" placeholder="请输入验证码">
                        </div>
                 </div>-->
                <div class="form-group">
                    <div class="col-sm-offset-2 col-sm-10">
                        <button type="submit" class="btn btn-default">注册</button>
                    </div>
                </div>
            </form>
        </div>
        <div class="col-md-3 rg-right pt20">
            <p class="pull-right">已有账号?
                <a th:href="@{/login}">立即登录</a>
            </p>
        </div>

    </div>

</div>

</div>
<!--底部-->
<footer th:replace="footer::footer"></footer>
</body>

</html>